[INFO] cloning repository https://github.com/lcdr/raknet_shim_dll
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lcdr/raknet_shim_dll" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcdr%2Fraknet_shim_dll", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcdr%2Fraknet_shim_dll'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d08e360bd00d363bf1cfbaa5d7f0e942d71b7c4d
[INFO] checking lcdr/raknet_shim_dll against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcdr%2Fraknet_shim_dll" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/lcdr/raknet_shim_dll on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-1/source/.cargo/config
[INFO] started tweaking git repo https://github.com/lcdr/raknet_shim_dll
[INFO] finished tweaking git repo https://github.com/lcdr/raknet_shim_dll
[INFO] tweaked toml for git repo https://github.com/lcdr/raknet_shim_dll written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/lcdr/raknet_shim_dll already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 81c60f891d9a4bae8763915606e2b7fa2c71af0bd8d792e158ccdfefefdd7e3b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "81c60f891d9a4bae8763915606e2b7fa2c71af0bd8d792e158ccdfefefdd7e3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "81c60f891d9a4bae8763915606e2b7fa2c71af0bd8d792e158ccdfefefdd7e3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "81c60f891d9a4bae8763915606e2b7fa2c71af0bd8d792e158ccdfefefdd7e3b", kill_on_drop: false }`
[INFO] [stdout] 81c60f891d9a4bae8763915606e2b7fa2c71af0bd8d792e158ccdfefefdd7e3b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 816c2b987c0bf3c144babeeb0dcac63e7bb181603402e7e005efaade1741fa0f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "816c2b987c0bf3c144babeeb0dcac63e7bb181603402e7e005efaade1741fa0f", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.30
[INFO] [stderr]    Compiling winapi v0.3.6
[INFO] [stderr]     Checking endio v0.1.0
[INFO] [stderr]    Compiling ring v0.13.5
[INFO] [stderr]     Checking webpki v0.18.1
[INFO] [stderr]     Checking sct v0.4.0
[INFO] [stderr]     Checking rustls v0.14.0
[INFO] [stderr]     Checking webpki-roots v0.15.0
[INFO] [stderr]     Checking mod v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/detour.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::shared::minwindef::{BYTE, DWORD, LPVOID};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/detour.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::memoryapi::VirtualProtect;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/detour.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::winnt::PAGE_EXECUTE_READWRITE;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/raknet.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::shared::minwindef::LPVOID;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/lib.rs:12:2
[INFO] [stdout]    |
[INFO] [stdout] 12 |     shared::minwindef::{BOOL, DWORD, HINSTANCE, LPVOID, TRUE},
[INFO] [stdout]    |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:13:2
[INFO] [stdout]    |
[INFO] [stdout] 13 |     um::libloaderapi::GetModuleHandleA
[INFO] [stdout]    |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/detour.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::shared::minwindef::{BYTE, DWORD, LPVOID};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/detour.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::memoryapi::VirtualProtect;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/detour.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::winnt::PAGE_EXECUTE_READWRITE;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/raknet.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::shared::minwindef::LPVOID;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/lib.rs:12:2
[INFO] [stdout]    |
[INFO] [stdout] 12 |     shared::minwindef::{BOOL, DWORD, HINSTANCE, LPVOID, TRUE},
[INFO] [stdout]    |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:13:2
[INFO] [stdout]    |
[INFO] [stdout] 13 |     um::libloaderapi::GetModuleHandleA
[INFO] [stdout]    |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]  --> src/detour.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 | static mut OLD_PROTECT: DWORD = PAGE_EXECUTE_READWRITE;
[INFO] [stdout]   |                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]  --> src/detour.rs:9:33
[INFO] [stdout]   |
[INFO] [stdout] 9 | static mut OLD_PROTECT: DWORD = PAGE_EXECUTE_READWRITE;
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> src/detour.rs:11:32
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn detour(old: usize, new: LPVOID) {
[INFO] [stdout]    |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> src/detour.rs:13:29
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let old = (old + BASE) as LPVOID;
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/detour.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let jmp_distance: DWORD = new as DWORD - old as DWORD - 5;
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/detour.rs:14:36
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let jmp_distance: DWORD = new as DWORD - old as DWORD - 5;
[INFO] [stdout]    |                                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/detour.rs:14:51
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let jmp_distance: DWORD = new as DWORD - old as DWORD - 5;
[INFO] [stdout]    |                                                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/detour.rs:15:3
[INFO] [stdout]    |
[INFO] [stdout] 15 |         VirtualProtect(old, 5, PAGE_EXECUTE_READWRITE, &mut OLD_PROTECT);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]   --> src/detour.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 |         VirtualProtect(old, 5, PAGE_EXECUTE_READWRITE, &mut OLD_PROTECT);
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope
[INFO] [stdout]   --> src/detour.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 |         *(old as *mut BYTE) = JMP_OPCODE;
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/detour.rs:17:32
[INFO] [stdout]    |
[INFO] [stdout] 17 |         *(((old as usize)+1) as *mut DWORD) = jmp_distance;
[INFO] [stdout]    |                                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/detour.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 |         VirtualProtect(old, 5, OLD_PROTECT, &mut OLD_PROTECT);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope
[INFO] [stdout]   --> src/detour.rs:22:36
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn patch_byte(dst: usize, new: BYTE) {
[INFO] [stdout]    |                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> src/detour.rs:24:29
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let dst = (dst + BASE) as LPVOID;
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/detour.rs:25:3
[INFO] [stdout]    |
[INFO] [stdout] 25 |         VirtualProtect(dst, 1, PAGE_EXECUTE_READWRITE, &mut OLD_PROTECT);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]   --> src/detour.rs:25:26
[INFO] [stdout]    |
[INFO] [stdout] 25 |         VirtualProtect(dst, 1, PAGE_EXECUTE_READWRITE, &mut OLD_PROTECT);
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope
[INFO] [stdout]   --> src/detour.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 |         *(dst as *mut BYTE) = new;
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/detour.rs:27:3
[INFO] [stdout]    |
[INFO] [stdout] 27 |         VirtualProtect(dst, 1, OLD_PROTECT, &mut OLD_PROTECT);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/raknet.rs:156:55
[INFO] [stdout]     |
[INFO] [stdout] 156 |     detour(RAK_CLOSE_CONNECTION, new_close_connection as LPVOID);
[INFO] [stdout]     |                                                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/raknet.rs:157:37
[INFO] [stdout]     |
[INFO] [stdout] 157 |     detour(RAK_CONNECT, new_connect as LPVOID);
[INFO] [stdout]     |                                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/raknet.rs:158:57
[INFO] [stdout]     |
[INFO] [stdout] 158 |     detour(RAK_DEALLOCATE_PACKET, new_deallocate_packet as LPVOID);
[INFO] [stdout]     |                                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/raknet.rs:159:55
[INFO] [stdout]     |
[INFO] [stdout] 159 |     detour(RAK_GET_AVERAGE_PING, new_get_average_ping as LPVOID);
[INFO] [stdout]     |                                                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/raknet.rs:160:49
[INFO] [stdout]     |
[INFO] [stdout] 160 |     detour(RAK_GET_LAST_PING, new_get_last_ping as LPVOID);
[INFO] [stdout]     |                                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/raknet.rs:161:37
[INFO] [stdout]     |
[INFO] [stdout] 161 |     detour(RAK_RECEIVE, new_receive as LPVOID);
[INFO] [stdout]     |                                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/raknet.rs:162:31
[INFO] [stdout]     |
[INFO] [stdout] 162 |     detour(RAK_SEND, new_send as LPVOID);
[INFO] [stdout]     |                                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/raknet.rs:163:39
[INFO] [stdout]     |
[INFO] [stdout] 163 |     detour(RAK_SHUTDOWN, new_shutdown as LPVOID);
[INFO] [stdout]     |                                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/raknet.rs:164:37
[INFO] [stdout]     |
[INFO] [stdout] 164 |     detour(RAK_STARTUP, new_startup as LPVOID);
[INFO] [stdout]     |                                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]   --> src/lib.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     dll_module: HINSTANCE,
[INFO] [stdout]    |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/lib.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 20 |     call_reason: DWORD,
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> src/lib.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |     reserved: LPVOID)
[INFO] [stdout]    |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/lib.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     -> BOOL {
[INFO] [stdout]    |        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/lib.rs:23:28
[INFO] [stdout]    |
[INFO] [stdout] 23 |     const DLL_PROCESS_ATTACH: DWORD = 1;
[INFO] [stdout]    |                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/lib.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 |         _ => TRUE
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/lib.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn init() -> BOOL {
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope
[INFO] [stdout]   --> src/lib.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     unsafe { BASE = GetModuleHandleA(std::ptr::null()) as usize; }
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/lib.rs:34:2
[INFO] [stdout]    |
[INFO] [stdout] 34 |     TRUE
[INFO] [stdout]    |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]  --> src/detour.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 | static mut OLD_PROTECT: DWORD = PAGE_EXECUTE_READWRITE;
[INFO] [stdout]   |                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]  --> src/detour.rs:9:33
[INFO] [stdout]   |
[INFO] [stdout] 9 | static mut OLD_PROTECT: DWORD = PAGE_EXECUTE_READWRITE;
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> src/detour.rs:11:32
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn detour(old: usize, new: LPVOID) {
[INFO] [stdout]    |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> src/detour.rs:13:29
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let old = (old + BASE) as LPVOID;
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/detour.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let jmp_distance: DWORD = new as DWORD - old as DWORD - 5;
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/detour.rs:14:36
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let jmp_distance: DWORD = new as DWORD - old as DWORD - 5;
[INFO] [stdout]    |                                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/detour.rs:14:51
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let jmp_distance: DWORD = new as DWORD - old as DWORD - 5;
[INFO] [stdout]    |                                                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/detour.rs:15:3
[INFO] [stdout]    |
[INFO] [stdout] 15 |         VirtualProtect(old, 5, PAGE_EXECUTE_READWRITE, &mut OLD_PROTECT);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]   --> src/detour.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 |         VirtualProtect(old, 5, PAGE_EXECUTE_READWRITE, &mut OLD_PROTECT);
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope
[INFO] [stdout]   --> src/detour.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 |         *(old as *mut BYTE) = JMP_OPCODE;
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/detour.rs:17:32
[INFO] [stdout]    |
[INFO] [stdout] 17 |         *(((old as usize)+1) as *mut DWORD) = jmp_distance;
[INFO] [stdout]    |                                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/detour.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 |         VirtualProtect(old, 5, OLD_PROTECT, &mut OLD_PROTECT);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope
[INFO] [stdout]   --> src/detour.rs:22:36
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn patch_byte(dst: usize, new: BYTE) {
[INFO] [stdout]    |                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> src/detour.rs:24:29
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let dst = (dst + BASE) as LPVOID;
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/detour.rs:25:3
[INFO] [stdout]    |
[INFO] [stdout] 25 |         VirtualProtect(dst, 1, PAGE_EXECUTE_READWRITE, &mut OLD_PROTECT);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]   --> src/detour.rs:25:26
[INFO] [stdout]    |
[INFO] [stdout] 25 |         VirtualProtect(dst, 1, PAGE_EXECUTE_READWRITE, &mut OLD_PROTECT);
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope
[INFO] [stdout]   --> src/detour.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 |         *(dst as *mut BYTE) = new;
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/detour.rs:27:3
[INFO] [stdout]    |
[INFO] [stdout] 27 |         VirtualProtect(dst, 1, OLD_PROTECT, &mut OLD_PROTECT);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/raknet.rs:156:55
[INFO] [stdout]     |
[INFO] [stdout] 156 |     detour(RAK_CLOSE_CONNECTION, new_close_connection as LPVOID);
[INFO] [stdout]     |                                                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/raknet.rs:157:37
[INFO] [stdout]     |
[INFO] [stdout] 157 |     detour(RAK_CONNECT, new_connect as LPVOID);
[INFO] [stdout]     |                                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/raknet.rs:158:57
[INFO] [stdout]     |
[INFO] [stdout] 158 |     detour(RAK_DEALLOCATE_PACKET, new_deallocate_packet as LPVOID);
[INFO] [stdout]     |                                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/raknet.rs:159:55
[INFO] [stdout]     |
[INFO] [stdout] 159 |     detour(RAK_GET_AVERAGE_PING, new_get_average_ping as LPVOID);
[INFO] [stdout]     |                                                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/raknet.rs:160:49
[INFO] [stdout]     |
[INFO] [stdout] 160 |     detour(RAK_GET_LAST_PING, new_get_last_ping as LPVOID);
[INFO] [stdout]     |                                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/raknet.rs:161:37
[INFO] [stdout]     |
[INFO] [stdout] 161 |     detour(RAK_RECEIVE, new_receive as LPVOID);
[INFO] [stdout]     |                                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/raknet.rs:162:31
[INFO] [stdout]     |
[INFO] [stdout] 162 |     detour(RAK_SEND, new_send as LPVOID);
[INFO] [stdout]     |                                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/raknet.rs:163:39
[INFO] [stdout]     |
[INFO] [stdout] 163 |     detour(RAK_SHUTDOWN, new_shutdown as LPVOID);
[INFO] [stdout]     |                                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/raknet.rs:164:37
[INFO] [stdout]     |
[INFO] [stdout] 164 |     detour(RAK_STARTUP, new_startup as LPVOID);
[INFO] [stdout]     |                                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]   --> src/lib.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     dll_module: HINSTANCE,
[INFO] [stdout]    |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/lib.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 20 |     call_reason: DWORD,
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> src/lib.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |     reserved: LPVOID)
[INFO] [stdout]    |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/lib.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     -> BOOL {
[INFO] [stdout]    |        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/lib.rs:23:28
[INFO] [stdout]    |
[INFO] [stdout] 23 |     const DLL_PROCESS_ATTACH: DWORD = 1;
[INFO] [stdout]    |                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/lib.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 |         _ => TRUE
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/lib.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn init() -> BOOL {
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope
[INFO] [stdout]   --> src/lib.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     unsafe { BASE = GetModuleHandleA(std::ptr::null()) as usize; }
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/lib.rs:34:2
[INFO] [stdout]    |
[INFO] [stdout] 34 |     TRUE
[INFO] [stdout]    |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 42 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mod`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 42 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "816c2b987c0bf3c144babeeb0dcac63e7bb181603402e7e005efaade1741fa0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "816c2b987c0bf3c144babeeb0dcac63e7bb181603402e7e005efaade1741fa0f", kill_on_drop: false }`
[INFO] [stdout] 816c2b987c0bf3c144babeeb0dcac63e7bb181603402e7e005efaade1741fa0f
